package com.loyi.ams.gateway.hbmis.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import com.loyi.ams.gateway.hbmis.config.HbmisConfigProperties;
import com.loyi.ams.gateway.hbmis.dao.IHourDataDAO;
import com.loyi.ams.gateway.hbmis.rest.HourDataService;

@SpringBootApplication
@EnableEurekaClient
@ComponentScan(basePackageClasses = { HourDataService.class })
@MapperScan(basePackageClasses = { IHourDataDAO.class })
@EnableConfigurationProperties(value = HbmisConfigProperties.class)
public class HbmisApplication {
	public static void main(String[] args) {
		SpringApplication.run(HbmisApplication.class, args);
	}
}
